package com.woniuxy.service.impl;

import com.woniuxy.entity.Chat;
import com.woniuxy.mapper.ChatMapper;
import com.woniuxy.service.ImSingleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImSingleServiceImpl implements ImSingleService {
    @Autowired
    private ChatMapper chatMapper;
    @Override
    public void add(Chat imSingle) {
        System.out.println("保存单聊数据：" + imSingle);
        chatMapper.add(imSingle);
    }
}
